<include file="Public/header" /> <!--包含头部模版header-->
<h2>最新动态管理</h2>
<tr><a class="pull-right" href="{:U('news/form')}"><font size="4"><b>添加</b></font></a></tr>


<form action="{:U('news/search')}" method="post">
	<table class="table">
		<tr><td><input name="search_key" />&nbsp;&nbsp;<input type="submit" class="btn btn-success" value="搜索" /></td></tr> 
	</table>
</form>



<table class="table table-striped">

<tr><td>动态编号</td><td>标题</td><td>动态缩略图</td><td>内容</td><td>发布时间</td><td>操作</td></tr>

<volist name="list" id="vo">
<tr>
<td>{$vo.ydq_id}</td>
<td>{$vo.ydq_title}</td>
<td><img src="__ROOT__/uploads/{$vo.ydq_pic}"/></td>
<td>{$vo.ydq_content}</td>
<td>{$vo.ydq_ntime}</td>

<td>
<a href="{:U('news/check',array('id'=>$vo['ydq_id']))}">查看|</a>
<br>
<a href="{:U('news/mod',array('id'=>$vo['ydq_id']))}">修改|</a>
<br>
<a href="javascript:if(confirm('确认删除?')) location='{:U('news/del',array('id'=>$vo['ydq_id']))}'">删除|</a>


</tr>
	</volist>


</table>
<div><h3>{$page}</h3></div>
<include file="Public/foot" /> <!--包含头部模版header-->